projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534942d
)
GtkStyle: transform tabs' detail string.
author
Carlos Garnacho
<carlosg@gnome.org>
Mon, 15 Nov 2010 22:27:44 +0000
(23:27 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:10 +0000
(15:39 +0100)
gtk/gtkstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyle.c
b/gtk/gtkstyle.c
index 3eca2014e99fd02991a71d221c0e5154d2d4afdf..ff3ba063174360ad5aa3693584750cce45fbda35 100644
(file)
--- a/
gtk/gtkstyle.c
+++ b/
gtk/gtkstyle.c
@@
-1800,6
+1800,11
@@
transform_detail_string (const gchar *detail,
gtk_style_context_add_class (context, "dock");
else if (strcmp (detail, "notebook") == 0)
gtk_style_context_add_class (context, "notebook");
+ else if (strcmp (detail, "tab") == 0)
+ {
+ gtk_style_context_add_class (context, "notebook");
+ gtk_style_context_add_region (context, GTK_STYLE_REGION_TAB, 0);
+ }
else if (g_str_has_prefix (detail, "cell"))
{
GtkRegionFlags row, col;